<template>
   <div class="mywallet">
        <scroller style="position:fixed;top:0;bottom:0;left:0;right:0;">
            <div class="banklist">
                <wxc-radio :list="banklistdata.banklist" @wxcRadioListChecked="wxcRadioListChecked" :config="{'checkedColor': 'red'}"></wxc-radio>
            </div>
        </scroller>
   </div>
</template>

<script>
import WxcMinibar from "@/components/modules/wxc-minibar/index.js"
import wxcRadio from "@/components/modules/wxc-radio/index.js"
import banklistdata from "@/js/banklist.js";
import { getBaseUrl, serialize } from "@/utils/index.js";

const navigator = weex.requireModule("navigator");

export default {
    data() {
        return {
            baseURL:'',
            banklistdata
        }
    },

    components: {
        WxcMinibar,
        wxcRadio
    },

    created() {
        this.baseURL = getBaseUrl(weex.config.bundleUrl, true)
    },

    methods: {
        wxcRadioListChecked (e) {
            this.$emit('setName', e)
        },
    }
};
</script>
